package com.zdsoft.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.zdsoft.entity.ArticleInfo;
import com.zdsoft.mapper.IArticleInfoMapper;
import com.zdsoft.service.IArticleInfoService;
@Service
@Transactional
public class ArticleInfoService implements IArticleInfoService {
	@Autowired
	IArticleInfoMapper infoMapper;
	@Override
	public int save(ArticleInfo articleInfo) {
		return infoMapper.saveInfo(articleInfo);
	}
	@Override
	public int del(Long id ) {
	
		return infoMapper.del(id);
	}

}
